package com.niit.session16.generic;

public class Computer {
	private String model;
	private double price;
	private int graphics;
	public Computer(String model, double price, int graphics) {
		super();
		this.model = model;
		this.price = price;
		this.graphics = graphics;
	}
	public Computer() {
		super();
	}
	public String getModel() {
		return model;
	}
	public void setModel(String model) {
		this.model = model;
	}
	public double getPrice() {
		return price;
	}
	public void setPrice(double price) {
		this.price = price;
	}
	public int getGraphics() {
		return graphics;
	}
	public void setGraphics(int graphics) {
		this.graphics = graphics;
	}
	@Override
	public String toString() {
		return "Computer [model=" + model + ", price=" + price + ", graphics=" + graphics + "]";
	}
	
	
}
